package com.business.bean.admin;

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author system E-mail: 9110530@qq.com
 * @version 创建时间：2018-11-08
 * 类说明：网页定义信息表
 */
@Table(name = "AD_DEF_PAGE", description = "网页定义信息表")
public class PageDefine {

	@Column(type = Type.定长文本, description = "页面编号", pk = true, canNull = false, size = 32, policy = "UUID")
	private String pageID;

	@Column(type = Type.变长文本, description = "文件名称", size = 150)
	private String fileName;

	@Column(type = Type.数字整型, description = "排序")
	private int sequence;

	@Column(type = Type.变长文本, description = "说明", size = 250)
	private String description;

	@Column(type = Type.变长文本, description = "列表页表编号", size = 32)
	private String listTableName;

	@Column(type = Type.变长文本, description = "详情页表编号", size = 32)
	private String detailTableName;

	@Column(type = Type.变长文本, description = "实体类名", size = 250)
	private String className;

	@Column(type = Type.超长文本, description = "内容定义")
	private String data;

	@Column(type = Type.变长文本, description = "模板类型", size = 150)
	private String templatType;

	@Column(type = Type.变长文本, description = "模板名称", size = 150)
	private String templetName;

	@Column(type = Type.变长文本, description = "存储路径", size = 250)
	private String savePath;

	/**
	* 获取文件名称
	*/
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	* 设置文件名称
	*/
	public String getFileName() {
		return fileName;
	}

	/**
	* 获取排序
	*/
	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	/**
	* 设置排序
	*/
	public int getSequence() {
		return sequence;
	}

	/**
	* 获取列表页表编号
	*/
	public void setListTableName(String listTableName) {
		this.listTableName = listTableName;
	}

	/**
	* 设置列表页表编号
	*/
	public String getListTableName() {
		return listTableName;
	}

	/**
	* 获取说明
	*/
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	* 设置说明
	*/
	public String getDescription() {
		return description;
	}

	/**
	* 获取页面编号
	*/
	public void setPageID(String pageID) {
		this.pageID = pageID;
	}

	/**
	* 设置页面编号
	*/
	public String getPageID() {
		return pageID;
	}

	/**
	* 获取详情页表编号
	*/
	public void setDetailTableName(String detailTableName) {
		this.detailTableName = detailTableName;
	}

	/**
	* 设置详情页表编号
	*/
	public String getDetailTableName() {
		return detailTableName;
	}

	/**
	* 获取内容定义
	*/
	public void setData(String data) {
		this.data = data;
	}

	/**
	* 设置内容定义
	*/
	public String getData() {
		return data;
	}

	/**
	* 获取模板类型
	*/
	public void setTemplatType(String templatType) {
		this.templatType = templatType;
	}

	/**
	* 设置模板类型
	*/
	public String getTemplatType() {
		return templatType;
	}

	/**
	* 获取模板名称
	*/
	public void setTempletName(String templetName) {
		this.templetName = templetName;
	}

	/**
	* 设置模板名称
	*/
	public String getTempletName() {
		return templetName;
	}

	/**
	* 获取存储路径
	*/
	public void setSavePath(String savePath) {
		this.savePath = savePath;
	}

	/**
	* 设置存储路径
	*/
	public String getSavePath() {
		return savePath;
	}

	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

}